Skip to content

Test envelope type enum with mixed index inheritance#1072

Merged
myronmarston merged 1 commit intoblock:mainfrom
marcdaniels-toast:mdaniels/issue-1029/event-envelope-type-enum-unit-test
Mar 16, 2026
Merged

Test envelope type enum with mixed index inheritance#1072
myronmarston merged 1 commit intoblock:mainfrom
marcdaniels-toast:mdaniels/issue-1029/event-envelope-type-enum-unit-test

Conversation

@marcdaniels-toast
Copy link
Contributor

Adds one unit test that belongs with recently-merged #1067. This checks the event envelope type enum for the index inheritance scenario where subtypes inherit from an indexed supertype. This is an important edge case to test since it validates that:

  1. Concrete subtypes appear in the enum (even when they inherit)
  2. Abstract supertypes don't appear (even when they're indexed)
  3. The mix of inherited + own indexes works correctly

Copy link
Collaborator

@myronmarston myronmarston left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for following up with this!

@myronmarston myronmarston merged commit e225be0 into block:main Mar 16, 2026
30 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants